* {
    font-size: 13px;
    font-family: "Times New Roman";
}

QPushButton {
    border: 2px solid #A1A5AA;
    border-radius: 6px;
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                   stop: 0 #f6f7fa, stop: 1 #dadbde);
    min-width: 80px;
    min-height: 25px;
}
QPushButton:pressed {
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                   stop: 0 #dadbde, stop: 1 #f6f7fa);
}

QPushButton:flat {
    border: none; /* no border for a flat push button */
}

QPushButton:default {
    border-color: #7DA2CE; /* make the default button prominent */
}
QPushButton:hover {

}

QLineEdit, QTextEdit {
    border-width: 1px;
    border-style: solid;
    border-color: #BDBDBD;
    border-radius: 4px;
    min-height: 25px;
}

QLineEdit:focus {
    border-color: #7DA2CE;
}

QComboBox {
    border-width: 1px;
    border-style: solid;
    border-color: #BDBDBD;
    border-radius: 4px;
    min-height: 25px;
}
QComboBox:focus {
    border-color: #7DA2CE;
}

QComboBox::drop-down {
    background-color: transparent;
    background-image: url(:/images/arrow-down-normal);
    background-repeat: no-repeat;
    background-position: center right;
}

/* Main window */
QMainWindow#MainWindow {
    /*background-image: url(:/images/bg1);*/
    background-color: qlineargradient(spread:pad, x1:0.801, y1:0.954545, x2:1, y2:0, stop:0 rgba(89, 192, 229, 245), stop:1 rgba(255, 255, 255, 255));
}

/* CVLoginDialog */
QDialog#loginDlg {
    background-color: #ffffff;
    background-image: url(:/images/logo);
    background-position: 0 -35px;
}

/* Tab Widget */
QTabWidget::pane {
    border-width: 1px;
    border-style: solid;
    border-color: #C2C7CB;
    border-radius: 4px;
    background-color: #fff;
}
QTabWidget::tab-bar {
    left: 5px;
}


QTabWidget::tab-bar {
    left: 5px; /* move to the right by 5px */
}
/* Style the tab using the tab sub-control. Note that
     it reads QTabBar _not_ QTabWidget */


QTabBar::tab {
     background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                 stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,
                                 stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
     border: 2px solid #C4C4C3;
     border-bottom: none;
     border-top-left-radius: 4px;
     border-top-right-radius: 4px;
     min-width: 8ex;
     padding: 2px;
 }

QTabBar::tab:selected, QTabBar::tab:hover {
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                             stop: 0 #fafafa, stop: 0.4 #f4f4f4,
                             stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
}

QTabBar::tab:selected {
    border-color: #9B9B9B;
    border-bottom: none;
}

QTabBar::tab:!selected {
    margin-top: 2px; /* make non-selected tabs look smaller */
}


/* Custom widgets */
QLineEdit#UserStatus:focus,
QLineEdit#UserStatus:focus:hover {
    color: #000000;
    background-color: #fff;
}
QLineEdit#UserStatus:!focus {
    color: #aaa;
    background-color: transparent;
}
QLineEdit#UserStatus:hover {
    background-color: rgba(255, 255, 255, 100);
}

CVList {
    background-color: #fff;
    border: 1px solid #A1A5AA;
}

CVActivityWidget,
MoreActionWidget,
TaskItem,
CommentItemView {
    background-color:qlineargradient(spread:pad, x1:0.477, y1:0, x2:0.488455, y2:1, stop:0 rgba(230, 230, 230, 255), stop:1 rgba(255, 255, 255, 255));
    margin: 0;
}

CVImage {

}

CVActivityWidget:hover {
    border: 1px solid red;
}

QLabel#ActivityTitle, QLabel#ActivityDesc {
    max-width: 800px;
}

QLabel#UserName {
    font-weight: bold;
    font-size: 16px;
}

QLabel#contentTitle {
    font-weight: bold;
    font-size: 18px;
}

QLabel#contentOwner {
    color: #999;
}

QLabel#contentDesc {
    font-size: 14px;
}

QWidget#ContentView {
    background-color: #fff;
}

QWidget#scrollAreaWidgetContents {
    background-color: #fff;
}
